package com.briup.day13;

public class Student {

	public int id;			// 学号3
	public String name;		// 姓名
	public int age;			// 年龄
	public String gender;	// 性别
	
	public Student() {
		this(1005, "张三",22,"男");
	}
	
	public Student(int id, String name, int age, String gender) {
		this.id = id;
		this.name = name;
		this.age = age;
		this.gender = gender;
	}


	public void introduce() { // 自我介绍
		System.out.println("大家好，我是" + name + "，今年" + age + "岁。");
	}

}
